﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MercuryFE
{
    public partial class MultiLineStringEditor : Form
    {
        public string Value;

        private string _itemString = "";

        public MultiLineStringEditor(string ItemString)
        {
            InitializeComponent();
            _itemString = ItemString;
            tbItemString.Text = _itemString;

        }

        private void btnOk_Click(object sender, EventArgs e)
        {
            this.Value = tbItemString.Text;
            this.Close();
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {
            this.Value = _itemString;
            this.Close();
        }
    }
}
